libxenlight: implement blktap2 support
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 30 Nov 2009 10:54:20 +0000 (10:54 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 30 Nov 2009 10:54:20 +0000 (10:54 +0000)
commit58ca38a652332edb822fafa0b799ac40435e0608
tree54d3e0b3d6259ca11c2227df78ef1143d67a8b93
parentd1c7c3ef998dbb9c933a047e5f1f14f15d9f3901
libxenlight: implement blktap2 support

This patch implements blktap2 support in libxenlight; blktap2 is only
enabled if it is actually supported by the host, otherwise we fall
back to the previous code. Also for the moment we pretend that disk
type file is actually tap:aio.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_device.c